home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / gnugo1_1.lha / gnugo / showinst.c < prev    next >
C/C++ Source or Header  |  1989-03-07  |  4KB  |  98 lines

  1. /*
  2.                 GNU GO - the game of Go (Wei-Chi)
  3.                 Version 1.1   last revised 3-1-89
  4.            Copyright (C) Free Software Foundation, Inc.
  5.                       written by Man L. Li
  6.                       modified by Wayne Iba
  7.                     documented by Bob Webber
  8. */
  9. /*
  10. This program is free software; you can redistribute it and/or modify
  11. it under the terms of the GNU General Public License as published by
  12. the Free Software Foundation - version 1.
  13.  
  14. This program is distributed in the hope that it will be useful,
  15. but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  17. GNU General Public License in file COPYING for more details.
  18.  
  19. You should have received a copy of the GNU General Public License
  20. along with this program; if not, write to the Free Software
  21. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  22.  
  23. Please report any bug/fix, modification, suggestion to
  24.  
  25. mail address:   Man L. Li
  26.                 Dept. of Computer Science
  27.                 University of Houston
  28.                 4800 Calhoun Road
  29.                 Houston, TX 77004
  30.  
  31. e-mail address: manli@cs.uh.edu         (Internet)
  32.                 coscgbn@uhvax1.bitnet   (BITNET)
  33.                 70070,404               (CompuServe)
  34. */
  35.  
  36. #define  SUN  68000
  37.  
  38. #include <stdio.h>
  39.  
  40. showinst()
  41. /* show program instructions */
  42. {
  43.  printf("XOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOX");
  44.  printf("OXOXOXOXOXOX\n");
  45.  printf("O                                                                  ");
  46.  printf("           O\n");
  47.  printf("X                           GNU GO (Previously Hugo)               ");
  48.  printf("           X\n");
  49.  printf("O                           the game of Go (Wei-Chi)               ");
  50.  printf("           O\n");
  51.  printf("X                                                                  ");
  52.  printf("           X\n");
  53.  printf("O                            version 1.1    3-1-89                 ");
  54.  printf("           O\n");
  55.  printf("X              Copyright (C) 1989 Free Software Foundation, Inc.   ");
  56.  printf("           X\n");
  57.  printf("O                              Author: Man L. Li                   ");
  58.  printf("           O\n");
  59.  printf("X         GNU GO comes with ABSOLUTELY NO WARRANTY; see COPYING for");
  60.  printf("           X\n");
  61.  printf("O         detail.   This is free software, and you are welcome to  ");
  62.  printf("           O\n");
  63.  printf("X         redistribute it; see COPYING for copying conditions.     ");
  64.  printf("           X\n");
  65.  printf("O                                                                  ");
  66.  printf("           O\n");
  67.  
  68. #ifdef SUN
  69.  
  70.  printf("X              Please report all bugs, modifications, suggestions  ");
  71.  printf("           X\n");
  72.  printf("O                         to manli@cs.uh.edu  (Internet)           ");
  73.  printf("           O\n");
  74.  
  75. #endif
  76.  
  77.  printf("X                                                                  ");
  78.  printf("           X\n");
  79.  printf("OXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXO");
  80.  printf("XOXOXOXOXOXO\n");
  81.  printf("\n\n\n\n\n\n\n\nPress return to continue");
  82.  getchar();
  83.  printf("\n\nTo play this game first select number of handicap pieces (0 to");
  84.  printf(" 17) for the\nblack side.  Next choose your color (black or white).");
  85.  printf("  To place your piece,\nenter your move as coordinate on the board");
  86.  printf(" in column and row.  The column\nis from 'A' to 'T'(excluding 'I').");
  87.  printf("  The row is from 1 to 19.\n\nTo pass your move enter 'pass' for");
  88.  printf(" your turn.  After both you and the computer\npassed the game will");
  89.  printf(" end.  To save the board and exit enter 'save'.  The game\nwill");
  90.  printf(" continue the next time you start the program.  To stop the game in");
  91.  printf(" the\nmiddle of play enter 'stop' for your move.  You will be");
  92.  printf(" asked whether you want\nto count the result of the game.  If you");
  93.  printf(" answer 'y' then you need to remove the\nremaining dead pieces and");
  94.  printf(" fill up neutral turf on the board as instructed.\nFinally, the");
  95.  printf(" computer will count all pieces for both side and show the result.\n\n");
  96. }  /* end showinst */
  97.  
  98.